package fivestar.controller.service.impl;

import java.util.List;

import fivestar.controller.service.InvoiceService;
import fivestar.model.dao.InvoiceDao;

public class InvoiceServiceImpl implements InvoiceService{

	InvoiceDao invoiceDao;
	
	public void setInvoiceDao(InvoiceDao invoiceDao) {
		this.invoiceDao = invoiceDao;
	}

	@Override
	public List<Object[]> findlByDni(String dni) throws RuntimeException {		 
		return invoiceDao.findlByDni(dni);
	}

}
